<template>
    <div>
        <div class="mall-order-top">
            <div class="w1200">
                <div class="clear">
                    <div class="mall-home fl">
                        <img src="../../images/mall-home.png" alt="">
                        <router-link to="/mall">批发商城首页</router-link>
                    </div>
                    <ul class='fr'>
                        <li>
                            您好!小菲菲飞飞飞
                        </li>
                        <li>
                            <router-link to="/mallOrder/demo">
                                批发订单
                            </router-link>
                        </li>
                        <li>
                            <router-link to="/favoriteproduct">
                                我的收藏
                            </router-link>
                        </li>
                        <li>
                            <router-link to="/mallOpinion/proposal">
                                意见反馈
                            </router-link>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="mall-searchs ">
            <div class="w1200 clear">
                <div class="fl mall-searchs-logo">
                    <img src="../../images/logo-08.png" alt="">
                    <router-link to="/mall">返回首页</router-link>
                </div>
                <ul class="fl clear">
                    <li>
                        <router-link to="/mall">首页
                        </router-link>
                    </li>
                    <li>在线客服</li>
                    <li>
                        <router-link to="/msg">
                            消息
                            <span class="newMsgTip">20</span>
                        </router-link>
                    </li>
                </ul>
                <div class="mall-searchs-search fr">
                    <div class="mall-searchs-search-l">
                        <input type="text" v-model="search" placeholder="请输入药品名称">
                        <span @click="searchs()">搜索</span>
                    </div>
                        <router-link to="/cart" class="fl  mall-searchs-search-r">
                            <i class="iconfont icon-cart"></i>
                            <span>我的购物车</span>
                            <i class="iconfont icon-jiantou"></i>
                            <i class="roundMsgTip">1</i>
                        </router-link>
                </div>
            </div>
        </div>
        <div class="bakContent">
            <router-link to="/mall">首页</router-link>
            <router-link to="/mallOrder/demo">订单</router-link>
            <router-link to="/mallOrderDetails/demo">订单详情</router-link>
            <router-link to="/mallOpinion/complaint">投诉</router-link>
            <router-link to="/mallOpinion/proposal">建议</router-link>
            <router-link to="/cart">进货单</router-link>
            <router-link to="/detail">商品详情页</router-link>
            <router-link to="/favoriteproduct">收藏产品</router-link>
            <router-link to="/favoritestore">收藏店铺</router-link>
            <router-link to="/mallSearch">搜索结果页</router-link>
            <router-link to="/msg">消息列表页</router-link>
            <router-link to="/mallStoreIndex">店铺首页</router-link>
            <router-link to="/mallStoreAllProduct">所有商品</router-link>
            <router-link to="/mallStoreArchives">公司档案</router-link>
            <router-link to="/mallpay">支付页面</router-link>
        </div>
    </div>
</template>
<script>
    export default {
        name: "listTop",
        data() {
            return {
                search: ""
            };
        },
        methods: {
            searchs() {}
        }
    }
</script>

<style lang="less">
    @import "../../css/var.less";
    @import "../css/mallpublic.less";
    .w1200 {
        width: 1200px;
        margin: 0 auto;
    }
    .mall-order-top {
        height: 32px;
        line-height: 32px;
        background: #e3e4e5;
        font-size: 12px;
        color: #202020;
        a {
            color: #202020;
        }
        .mall-home {
            img {
                margin-top: -3px;
                margin-right: 5px;
            }
            a {
                color: #202020;
            }
        }
        ul {
            height: 32px;
            padding: 6px 0;
            li {
                .fl;
                padding: 0 16px;
                height: 20px;
                line-height: 20px;
                border-right: 1px solid #a0a0a0;
                &:nth-child(1) {
                    width: 110px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    color: #0db4b9;
                }
                &:nth-child(4) {
                    border-right: 0px;
                    padding-right: 0px;
                }
            }
        }
    }
    .mall-searchs {
        height: 82px;
        line-height: 82px;
        background: #0db4b9;
        color: #fff;
        a {
            color: #fff;
        }
        .mall-searchs-logo {
            width: 310px;
            position: relative;
            a {
                display: inline-block;
                color: #fff;
                width: 65px;
                height: 20px;
                border: 1px solid #fff;
                font-size: 12px;
                line-height: 18px;
                text-align: center;
                border-radius: 10px;
                position: absolute;
                bottom: 20px;
                right: 30px;
            }
        }
        ul {
            li {
                .fl;
                font-size: 14px;
                color: #fff;
                padding: 0 26px;
                position: relative;
            }
        }
        .mall-searchs-search {
            width: 488px;
            height: 36px;
            position: relative;
            .mall-searchs-search-l {
                width: 330px;
                height: 36px;
                position: absolute;
                left: 0px;
                top: 23px;
                input,
                span {
                    position: absolute;
                    top: 0px;
                }
                input {
                    border: none;
                    width: 266px;
                    height: 36px;
                    font-size: 12px;
                    color: #888888;
                    text-indent: 5px;
                    left: 0px;
                    outline: none;
                }
                span {
                    display: inline-block;
                    height: 36px;
                    width: 64px;
                    line-height: 36px;
                    cursor: pointer;
                    background: #f7f7f7;
                    color: #202020;
                    right: 0px;
                    text-align: center;
                }
            }
            .mall-searchs-search-r{
                line-height: 34px;
                text-align: center;
                cursor: pointer;
                position: relative;
                width: 140px;
                height: 36px;
                background: #fff;
                position: absolute;
                right: 0px;
                top: 23px;
                .icon-cart{
                    color: #c81623;
                    font-weight: 700;
                }
                &>span{
                    font-size: 12px;
                    color: #202020;
                    margin:0 10px 0 2px;
                }
                .icon-jiantou{
                    font-size: 12px;
                    color: #202020;
                }
        }
        }
    }
    .bakContent {
        position: fixed;
        right: 0;
        top: 200px;
        padding: 0 10px;
        background-color: red;
        a {
            color: #fff;
            font-size: 14px;
            display: block;
            height: 30px;
            line-height: 30px;
            text-align: center;
        }
    }
</style>



